#pragma once

#include "qbtools.h"
#include <string>
#include <QString>

class S_TOOL_EXPORT SSTools
{	
public:
	SSTools();
	~SSTools();

	static QString PriceRemoveZero(const QString& szSrc, int nZeroNum = 2);
	static std::string PriceRemoveZero(const char* sSrc, int nZeroNum = 2);
	static QString StringRemoveZero(const QString&, bool bNeedFormat=false);
	static QString FormatePrice(const char* ctPrice);
	static QString int2Time(unsigned int uiTime, int Formart=0/*0,'-',1,'/'*/);
	static int getSemiQuote(const char* rebate, const char* return_point, const char* sPrice, QString& strQuote);
};